package com.qfmy.model.entity.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/11/02
 * @description 热搜排行榜实体类（对应hot_search_rank表）
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class HotSearchRank {
    @Schema(description = "主键ID（自增）")
    private Long id;

    @Schema(description = "热搜关键词（非空，唯一不重复）")
    private String keyword;

    @Schema(description = "热度值（非空）")
    private Integer hotValue;

    @Schema(description = "排名（范围1-50，可为NULL）")
    private Integer rank;

    @Schema(description = "更新时间（字符串格式，如yyyy-MM-dd HH:mm:ss，非空）")
    private LocalDateTime updateTime;
}